// PartDBReaderInfo.cpp: implementation of the PartDBReaderInfo class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "phsshare.h"
#include "PartDBReaderInfo.h"
#include "PartFunctionDB.h"
#include "PartDBReader.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

PartDBReaderInfo::PartDBReaderInfo(INT nID, const CString& strStyleName, PartDBReader* (*pCreateObject)() ):
									SingleInstanceRegisterInfo<INT, PartDBReader*>(nID, strStyleName, pCreateObject)
{
	PartFunctionDB::GetFunctionReaders().Register(nID, this);
}

PartDBReaderInfo::~PartDBReaderInfo()
{

}
